
public class Leaa3 {
public static void main(String[] args) {
	for (int i =100; i >=1; i--) {
       if (i%8==0) {
           	System.out.println(i);
           	break;
	}
	}
	
}
}
